/* instore_main.css - Responsive styles for inStore page with green base color and sidebar */
:root {
    --primary: #4CAF50;
    --primary-dark: #1e7e34;
    --green: #28a745;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-800: #1f2937;
    --gray-900: #111827;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    background: #fff;
}



.hamburger-menu {
    display: none; /* Hidden on desktop */
}

.hamburger-btn {
    background: none;
    border: none;
	width:30px;
    font-size: 1.8rem;
    cursor: pointer;
	filter:invert(0);
	margin-top: 5px;
}


.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    padding: 0.5rem;
    border-radius: 20px;
}

.search-icon {
    width: 24px;
    height: 24px;
}

._ediAddre_{
	width: 24px;
    height: 24px;
}



.login-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.login-icon {
    width: 24px;
    height: 24px;
}

.sidebar {
    width: 250px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 2px 0 15px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-item {
    display: block;
    padding: 0.75rem;
    text-align: left;
    background-color: #28a745; /* Primary green */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background-color 0.3s;
}




/* the closing the checkout */
._clsbnt_incho_{
	position:absolute;
	top:10px;
	right:10px;
	cursor:pointer;
	width:25px;
	height:25px;
	margin:10px;
	filter: invert(0.5);
	
}



._close_bntons_{
	position:absolute;
	top:20px;
	right:20px;
	width:25px;
	height:25px;
	margin:5px;
	cursor:pointer;
	z-index:3;
}



@keyframes load{
	from{ transform:rotate(0deg); }to { transform:rotate(360deg); }
}

/* this will indetifier the current progression */
.ldInlgon{
	width:22px;
	height:22px;
	border:2px solid #80ffffff;
	cursor:pointer;
	margin-right:16px;
	vertical-align:-20px;
	border-radius:50%;
	border-bottom-color:transparent;
	display:none;
	animation:load 0.5s linear infinite;
}



.sidebar-item:hover {
    background-color: #218838; /* Darker green for hover */
}

.nav-links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: block;
    padding: 1rem;
    text-align: center;
    background-color: #28a745; /* Primary green */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.nav-item:hover {
    background-color: #218838; /* Darker green for hover */
}


.mobile-menu.active {
    display: flex; /* Shown when toggled */
}

.mobile-menu-item {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    text-align: center;
}

.mobile-menu-item:hover {
    background-color: #218838; /* Darker green for hover */
}

.products, .checkout {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 2rem;
	background: var(--gray-900);
    #background-color: #343a40; /* Dark gray for contrast */
    color: white;
	
	
}

.ic_srch_onadd{
	left: 25px;
    top: 35%;
    position: absolute;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
	text-align: justify;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #28a745; /* Green for footer titles */
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
}

.footer-link:hover {
    color: #28a745; /* Green on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
	
	/* the closing the checkout */
	._clsbnt_incho_{
		top:60px;
	}
	
	
    .header {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem;
    }

    .hamburger-menu {
        display: block; /* Show hamburger menu on mobile */
		filter: invert(1);
		position: fixed;
        right: 10px;
    }


    .sidebar {
        display: block; /* Hide sidebar on mobile */
        position: fixed;
        left: -100%;
		z-index:1;
		transition:0.3s ease-in-out;
    }
	
	.sidebar.active{
		left: 0%;
        display: block;
        position: fixed;
        width: 80%;
        top: 60px;
        padding: 12px;
		z-index:4;
		transition:0.3s ease-in-out;
	}

    .nav-links {
        grid-template-columns: 1fr;
    }

    .footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 1.2rem;
    }

    .search-bar {
        width: 100%;
    }

    .nav-item, .mobile-menu-item {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-link {
        font-size: 0.9rem;
    }
}

/* Accessibility Enhancements */
a:focus, button:focus, input:focus {
    outline: 2px solid #28a745; /* Green outline for focus */
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    body {
        background-color: black;
        color: white;
    }

    .header, .mobile-menu {
        background-color: #218838; /* Darker green for high contrast */
    }

    .nav-item, .sidebar-item {
        background-color: #1e7e34; /* Even darker green */
    }

    .footer {
        background-color: #111;
    }

    .footer-title {
        color: #28a745;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .nav-item, .sidebar-item, .mobile-menu-item {
        transition: none;
    }
}
















/*-----------------------this box will contain sup informations--------------------------*/
.lav{
	position:fixed;
	width:100%;
	height:0%;
	left:0px;
	top:0px;
	z-index:10;
	font-family:var(--TvbSUISBold);
	overflow-y:hidden;
	overflow-x:hidden;
	background-color: #00000030;
}




/*-----------------------this box will contain sup informations--------------------------*/
.lav2{
	position:fixed;
	width:100%;
	height:0%;
	left:0px;
	top:0px;
	visibility:hidden;
	opacity:0;
	transition:0.5s ease-in-out;
	z-index:4;
	background-color:#00000070;
	font-family:var(--TvbSUISBold);
	overflow-y:hidden;
	overflow-x:hidden;
}



/*-----------------------this box will contain sup informations--------------------------*/
.lav3{
	position:fixed;
	width:100%;
	height:0%;
	left:0px;
	top:0px;
	visibility:hidden;
	opacity:0;
	transition:0.5s ease-in-out;
	z-index:5;
	background-color:#00000070;
	font-family:var(--TvbSUISBold);
	overflow-y:hidden;
	overflow-x:hidden;
}







/* Store Info */
.store-info {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* Cart Styles */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background-color: #f9f9f9;
    border-radius: 4px;
}



.checkout-btn:hover, .add-to-cart:hover, .remove-item:hover {
    background-color: #218838;
}

/* Login Form */
.login-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-form button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
}

.login-form button:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .store-info, .login-form {
        padding: 1rem;
    }
}














/* Products Section */
.products {
    padding: 1rem;
    margin: 0 auto;
}



/* Product Item */
.product-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
    min-width: 200px;
    max-width: 200px;
    flex: 0 0 auto;
    transition: transform 0.2s;
}

.product-item:hover {
    transform: translateY(-4px);
}

.product-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.product-info {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 0.9rem;
    font-weight: bold;
    color: #28a745;
    margin: 0.5rem 0;
}

.add-to-cart {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.add-to-cart:hover {
    background-color: #1e7e34;
}

/* Responsive */
@media (max-width: 768px) {
    .product-item {
        min-width: 150px;
        max-width: 150px;
    }

    .product-img {
        height: 100px;
    }

    .product-name, .product-price, .product-info {
		font-size: 0.8rem;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
    }

    .add-to-cart {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .product-item {
        min-width: 120px;
        max-width: 120px;
    }

    .product-img {
        height: 80px;
    }

    .product-name, .product-price, .product-info {
        font-size: 0.7rem;
    }

    .add-to-cart {
        padding: 0.3rem 0.5rem;
        font-size: 0.6rem;
    }
}

/* Cart and Checkout (unchanged from previous) */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.remove-item {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.remove-item:hover {
    background-color: #c82333;
}

.checkout-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.checkout-btn:hover {
    background-color: #1e7e34;
}















/* Main Content */
.main-content {
	width:100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    margin: 0 auto;
}

.sidebar-item:hover, .sidebar-item.settings-toggle:hover {
    background-color: #28a745;
    color: white;
}

.sidebar-icon {
    margin-right: 0.5rem;
}

/* Settings Panel */
.settings-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.settings-panel.active {
    transform: translateX(0);
}

.settings-close {
    text-align: right;
    cursor: pointer;
    font-size: 1.2rem;
    color: #28a745;
}

.settings-group {
    margin-bottom: 1.5rem;
}

.settings-group-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 0.5rem;
}

.settings-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.settings-item:hover {
    background-color: #f1f1f1;
}

.settings-icon {
    margin-right: 0.5rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-item {
    padding: 1rem;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid #ddd;
}

.mobile-menu-item.login-button {
    color: #28a745;
    font-weight: bold;
}

/* Products Container */
.products-container {
    flex: 1;
    min-width: 0;
}



.product-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
    min-width: 200px;
    max-width: 200px;
    flex: 0 0 auto;
    transition: transform 0.2s;
}

.product-item:hover {
    transform: translateY(-4px);
}

.product-price {
    font-size: 0.9rem;
    font-weight: bold;
    color: #28a745;
    margin: 0.5rem 0;
}

.add-to-cart {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.add-to-cart:hover {
    background-color: #1e7e34;
}

/* Checkout Section */
.checkout {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    background-color: white;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    padding: 16px;
	height:calc(100% - 0px);
	padding-top:50px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.checkout.active {
    transform: translateX(0);
	display:block;
}

.checkout-close {
    text-align: right;
    cursor: pointer;
    font-size: 1.2rem;
    color: #28a745;
}


.cart-toggle{
	cursor: pointer;
    font-size: 1.2rem;
    color: #fff;
    position: relative;
	display:flex;
}
.settings-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    color: #fff;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
	min-width:25px;
	min-height:20px;
	text-align:center;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
	
	.category-select {
		width:100%;
	}
	.main-content{
		max-width:unset;
	}
    .sidebar {
        display: none;
    }
	
	.products{
		width:100%;
		box-shadow:unset;
		padding:unset;
		margin-top: 0px;
	}

    .products-container {
        flex: 1 0 100%;
    }

    .product-item {
        min-width: 150px;
        max-width: 150px;
    }

    .product-img {
        height: 100px;
    }

    .mobile-menu {
        display: flex;
    }
}

@media (max-width: 480px) {
    .product-item {
        min-width: 120px;
        max-width: 120px;
    }

    .product-img {
        height: 80px;
    }

    .checkout {
        width: 100%;
        border-radius: 0px;
    }
}




















/*-------------------Login Overlay--------------------*/



/* login icon */
._loginic_{
	width:30px;
	height:30px;
	filter:invert(0.8);
}



._ig_uivon_{
	width:100%;
    height: 70%;
    object-fit: scale-down;
}


.login-overlay.active .login-card {
    transform: scale(1);
}

/* Login Header */
.login-header {
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    #color: #28a745;
    color: #2a2a2a;
}

.login-header .fa-phone-alt {
    font-size: 1.5rem;
}

.login-title h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Input Group */
.input-group {
    position: relative;
	bottom:10px;
    margin-bottom: 1.5rem;
	background-color:inherit;
	padding:10px;
    padding-top: 20px;
    width:100%;
}

._in_27_{
	position: absolute;
    left: 70px;
    top: 41%;
}

.input-icon {
    position: absolute;
    left: 25px;
    top: 58%;
    transform: translateY(-50%);
    color: #6c757d;
    width:30px;
	border-radius:5px;
}


.login-input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.login-input::placeholder {
    color: #adb5bd;
}

.login-input.error {
    border-color: #dc3545;
    animation: shake 0.3s ease;
}

/* Buttons */
.login-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-btn:hover {
    background-color: #1e7e34;
    transform: translateY(-2px);
}

.login-btn:active {
    transform: translateY(0);
}

/* OTP Section */
.otp-section {
    display: none;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.otp-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Shake Animation for Error */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        max-width: 90%;
        padding: 1.5rem;
    }

    .login-title h2 {
        font-size: 1.25rem;
    }

    .login-input {
        font-size: 0.9rem;
        padding: 0.65rem 1rem 0.65rem 2.25rem;
    }

    .login-btn {
        font-size: 0.9rem;
        padding: 0.65rem;
    }
}









































.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 12, 35, 0.78);
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.55s ease;
    z-index: 9999;
}

.login-overlay.visible {
    opacity: 1;
}

.login-card {
    background: rgba(28, 25, 60, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    border: 1px solid rgba(120, 113, 255, 0.18);
    width: 100%;
    max-width: 420px;
    padding: 44px 36px;
    box-shadow: 0 30px 90px -20px rgba(0,0,0,0.75);
    color: #f0f0ff;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-overlay.visible .login-card {
    transform: translateY(0);
    opacity: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 2.4rem;
}

.login-title h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #e0ddff;
    margin-bottom: 0.6rem;
}

.login-subtitle p {
    color: #c4c1ff;
    font-size: 1rem;
    line-height: 1.45;
	display:block;
}


.login-input {
    width: 100%;
    padding: 18px 20px 18px 98px;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(140,140,255,0.28);
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.login-input:focus {
    outline: none;
    border-color: #9f7aea;
    box-shadow: 0 0 0 5px rgba(159,122,234,0.25);
    background: rgba(255,255,255,0.13);
}

.login-btn.primary {
    width: 100%;
    padding: 18px;
    background: linear-gradient(90deg, #28a745, #4f46e5);
    color: white;
	display:flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 16px;
    font-size: 1.12rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 36px rgba(124,58,237,0.38);
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}


._txt_lbnt_{
	
}


.login-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(124,58,237,0.55);
}

/* OTP phase */
.otp-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 2.2rem 0 2.6rem;
}

.otp-digit {
    width: 56px;
    height: 68px;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(140,140,255,0.3);
    border-radius: 14px;
    color: white;
    transition: all 0.25s;
}

.otp-digit:focus {
    border-color: #9f7aea;
    box-shadow: 0 0 0 4px rgba(159,122,234,0.35);
    background: rgba(255,255,255,0.16);
}

.resend-area {
    text-align: center;
    font-size: 0.94rem;
    color: #b0adff;
	margin-top: 20px;
}

.resend-inactive {
    color: #7c7aff;
}

.resend-active {
    color: #9f7aea;
    cursor: pointer;
    text-decoration: underline;
}

.hidden { display: none !important; }
.form-phase.hide { opacity: 0; transition: opacity 0.35s ease; }
.form-phase.show { text-align:center; opacity: 1; transition: opacity 0.5s ease 0.1s; }





























.addr-overlay {
    position: fixed;
	inset: 0;
	/* background: rgba(15, 12, 35, 0.78); */
    /* backdrop-filter: blur(8px); */
	display: grid;
	place-items: center;
    padding: 20px; 
	opacity: 0; 
	transition: opacity 0.5s ease;
    z-index: 9999; 
	overflow-y: auto;
}
.addr-overlay.visible { opacity: 1; }

.addr-card {
	position:absolute;
	top:0px;
	right:0px;
    background: white;
	border-radius: 0px; 
	width: 100%;
    max-width: 680px; padding: 36px 32px; box-shadow: 0 20px 70px rgba(0,0,0,0.12);
    border: 1px solid #f0f0f0; transform: translateY(20px); transition: all 0.5s ease;
}
.addr-overlay.visible .addr-card { transform: translateY(0); }

.addr-header h2 {
    font-size: 2rem; font-weight: 800; color: #1a1a1a; margin: 0 0 8px;
}
.addr-subtitle { color: #666; font-size: 1rem; }

.addr-search-wrapper {
    position: relative; margin: 24px 0;
}
.addr-search-input {
    width: 100%; padding: 18px 20px 18px 50px; border: 2px solid #e0e0e0;
    border-radius: 16px; font-size: 1.1rem; transition: all 0.3s;
}
.addr-search-input:focus {
    outline: none; border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #888; font-size: 1.3rem; }

.addr-map-container {
    height: 240px;
	border-radius: 16px;
	overflow: hidden; 
	margin: 20px 0;
    border: 2px solid #e8e8e8; 
	box-shadow: 0 8px 25px rgba(0,0,0,0.08);
	display:none;
}
#gmap { width: 100%; height: 100%; }

.addr-form-grid {
    display: grid; gap: 16px; margin: 24px 0;
}
.addr-input, .addr-textarea {
    padding: 16px 18px; border: 1.8px solid #e5e7eb; border-radius: 12px;
    font-size: 1rem; transition: all 0.25s;
}
.addr-input:focus, .addr-textarea:focus {
    outline: none; border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,0.12);
}

.delivery-options { margin: 20px 0; }
.option-title { font-weight: 600; color: #333; margin-bottom: 12px; }
.radio-group { display: grid; gap: 12px; }
.radio-item { display: flex; align-items: center; gap: 12px; }
.radio-label { font-size: 1rem; color: #444; cursor: pointer; }











.cat-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #111827;
}

.see-all-btn {
    background: #f3f4f6;
    color: #4f46e5;
    border: none;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s;
}

.see-all-btn:hover {
    background: #e0e7ff;
    transform: translateY(-1px);
}

.products-scroll-wrapper {
    position: relative;
    margin: 0 -16px;
    padding: 0 16px;
    #overflow: hidden;
}




/* Products Grid (from previous response, adjusted) */
.products-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    /* scrollbar-width: thin; */
    scrollbar-color: #28a745 #f1f1f1;
}

.products-grid::-webkit-scrollbar {
    height: 0px;
}

.products-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0px;
}

.products-grid::-webkit-scrollbar-thumb {
    background: #28a745;
    border-radius: 0px;
}

.products-grid::-webkit-scrollbar-thumb:hover {
    background: #1e7e34;
}



.products-grid, .products-grid-vl {
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 12px 0;
    scrollbar-width: none;           /* Firefox */
    -ms-overflow-style: none;        /* IE & Edge */
}

.products-grid-vl{
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Tablet */
@media (min-width: 768px) {
    .products-grid-vl {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .products-grid-vl {
        grid-template-columns: repeat(4, 1fr);
    }
}


.products-grid::-webkit-scrollbar {
    display: none;                   /* Chrome, Safari */
}

.product-card {
    flex: 0 0 240px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

.product-image {
    height: 130px;
    object-fit: cover;
    background: #f9fafb;
	margin-left: auto;
    margin-right: auto;
    display: block;
}

.product-info {
    padding: 16px;
    text-align: left;
}

.product-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin: 0.5rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
	white-space: normal;
}
.product-name::after {
    content: "...";
    position: absolute;
    right: 0;
    bottom: 0;
    padding-left: 20px;
    background: linear-gradient(to right, transparent, white 50%);
}

.product-meta {
    font-size: 0.88rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.18rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

/* Floating round add-to-cart button */
.add-to-cart-float {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: Green;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(99,102,241,0.4);
    cursor: pointer;
    transition: all 0.28s ease;
    z-index: 2;
}

.add-to-cart-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 30px rgba(99,102,241,0.55);
}

.add-to-cart-float.added {
    background: #10b981;
    transform: scale(1.25);
}

/* Scroll arrows */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    color: #4b5563;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    z-index: 1;
}

.scroll-arrow:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.16);
}

.scroll-arrow.left { left: 8px; }
.scroll-arrow.right { right: 8px; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 1.15rem;
}
























.sidebar-content {
    padding: 0px;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    border-radius: 10px;
    overflow: hidden;
    transition: background 0.2s;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 5px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.category-header:hover {
    background: #f8fafc;
}

.category-header.expandable:hover {
    background: #f3f4f6;
}

.cat-icon {
    font-size: 1.2rem;
    color: #6366f1;
}

.cat-name {
    font-weight: 600;
    font-size: 1.02rem;
    flex: 1;
}

.toggle-icon {
    font-size: 0.95rem;
    color: #6b7280;
    transition: transform 0.3s;
}

.subcategory-list {
    background: #f9fafb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.subcategory-list.open {
    max-height: 500px; /* adjust according to your max expected content */
    padding: 8px 0;
}

.subcategory-item {
    padding: 12px 16px 12px 52px;
    color: #4b5563;
    font-size: 0.97rem;
    cursor: pointer;
    transition: all 0.2s;
}

.subcategory-item:hover {
    background: #f1f5f9;
    color: #111827;
    padding-left: 56px;
}

/* Active state (optional) */
.category-item.active .category-header,
.subcategory-item.active {
    background: #eef2ff;
    color: #4f46e5;
}

/* Empty state */
.sidebar-empty {
    text-align: center;
    color: #9ca3af;
    padding: 60px 20px;
    font-size: 1.1rem;
}

/* Responsive - hide on small screens or use mobile menu */
@media (max-width: 992px) {
    #sidebar {
        transform: translateX(-100%);
    }
    #sidebar.active {
        transform: translateX(0);
    }
}
















/* Responsive */
@media (max-width: 768px) {
	
	/* Floating round add-to-cart button */
	.add-to-cart-float {
		bottom: 110px;
		right: 16px;
		width: 40px;
		height: 40px;
		font-size: 1.5rem;
	}
	
	.cat-title {
		font-size: 1.2rem;
		font-weight: 600;
		color: #111827;
	}

	.products-scroll-wrapper {
		padding: 0 8px;
	}
	.product-meta {
		display:none;
	}

	.product-card {
		flex: 0 0 190px;
		height: 250px;
	}
	
	.product-price {
		font-size: 1.0rem;
	}
	
	.scroll-arrow{
		display:none;
	}
	
	.see-all-btn{
		margin-left: auto;
	}
}















/* Base product card styles */
.product-card-sh {
  width: 239px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 16px;
  transition: transform 0.2s;
  display:inline-block;
  margin-right:20px;
}

.product-card-sh:hover {
  transform: translateY(-4px);
}

.product-image-sh {
  width: 100%;
  height: 180px;
  background: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 12px;
}

.product-title-sh {
  height: 20px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 8px;
}

.product-price-sh {
  height: 18px;
  background: #e0e0e0;
  border-radius: 4px;
  width: 60%;
}

.product-rating-sh {
  height: 16px;
  background: #e0e0e0;
  border-radius: 4px;
  width: 80px;
}

/* Shimmer animation */
.shimmer,
.shimmer::before {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
}

.shimmer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  animation: inherit;
}

/* Optional: different lengths for realism */
.shimmer.short  { width: 65%; }
.shimmer.small  { width: 40%; height: 14px; }

/* Keyframes */
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Grid layout example */
.products-grid-sh {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  padding: 20px;
}
































.search-page {
    width:100%;
	height:100%;
    margin: 0 auto;
	background-color: #fff;
	padding:14px;
}

.search-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.results-title{
	font-size:12pt;
}

._icobx_mv_{
	width: 50px;
    margin: 10px;
    height: 50px;
    filter: invert(1);
    background-color: #1a1a1a;
    padding: 10px;
    border-radius: 50%;
}
.search-bar-container {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-input-mob {
    flex: 1;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.search-btn {
    padding: 0 28px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.search-btn:hover {
    background: #0056b3;
}

.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    margin-top: 8px;
    display: none;
    z-index: 200;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results.hidden {
    display: none;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}